<%@ page import="sige.Semestre" %>



<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="semestre.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${semestreInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'bimestre_1', 'error')} ">
	<label for="bimestre_1">
		<g:message code="semestre.bimestre_1.label" default="Bimestre1" />
		
	</label>
	<g:select id="bimestre_1" name="bimestre_1.id" from="${sige.Bimestre.list()}" optionKey="id" value="${semestreInstance?.bimestre_1?.id}" class="many-to-one" noSelection="['null': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'bimestre_2', 'error')} ">
	<label for="bimestre_2">
		<g:message code="semestre.bimestre_2.label" default="Bimestre2" />
		
	</label>
	<g:select id="bimestre_2" name="bimestre_2.id" from="${sige.Bimestre.list()}" optionKey="id" value="${semestreInstance?.bimestre_2?.id}" class="many-to-one" noSelection="['null': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'ano', 'error')} required">
	<label for="ano">
		<g:message code="semestre.ano.label" default="Ano" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="ano" name="ano.id" from="${sige.AnoLetivo.list()}" optionKey="id" required="" value="${semestreInstance?.ano?.id}" class="many-to-one"/>
</div>

